package com.ljx.thread.thread04;

import lombok.Data;

/**
 * @author LJX
 * @Description: 演示
 * @Date: 2022/11/1 16:12
 * @Version 1.0
 */
@Data
public class DeadLockTest {

	public static void main(String[] args) {

		DeadLockChop deadLockChop = new DeadLockChop();
		BoyThread boyThread = new BoyThread(deadLockChop);
		GirlThread girlThread = new GirlThread(deadLockChop);
		boyThread.start();
		girlThread.start();


	}

}

